package com.appkubes.mall.restful.application.goods.taobao.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 商品分类
 * @Author: jeecg-boot
 * @Date:   2020-01-09
 * @Version: V1.0
 */
@Data
@TableName("tjd_goods_classify")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="tjd_goods_classify对象", description="商品分类")
public class GoodsClassifyModel {
    
	/**cid*/
    @ApiModelProperty(value = "cid")
	private Integer cid;
	/**classifyKey*/
    @ApiModelProperty(value = "classifyKey")
	private String classifyKey;
	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**分类名称*/
    @ApiModelProperty(value = "分类名称")
	private String name;
	/**图片*/
    @ApiModelProperty(value = "图片")
	private String pic;
	/**上级cid*/
    @ApiModelProperty(value = "上级cid")
	private Integer superiorCid;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
}
